package com.yj.lcj.utils;

import java.util.HashSet;
import java.util.Random;
import java.util.Set;

/**
 * 随机数工具类
 */
public class RandomUtils {

    private static final Integer CODE = 1000000;

    public static int getRandomCode(){
        Random random = new Random();
        int code = random.nextInt(CODE);
        return code;

    }

}
